﻿@{
    ViewBag.Title = "Forget Password";
    Layout = "~/Views/Shared/_NoAuthen.cshtml";
}

@section maincontent{
<div class=" container  hero-unit  " style="margin-top: 40px;width:400px;">
    
    @if(TempData["result"] == "success"){
            <div class="alert  alert-success">
               send  password-reset email success!
            </div>
    }else{
        if(TempData["result"]=="failure"){
            
                <div class="alert  alert-error">
                            @ViewData.ModelState["email"].Errors[0].ErrorMessage
                </div>
        }
    }
    <br />
    <h2>Forget Password</h2>
        @using (Html.BeginForm())
        {
        <div class="well">
                        <label>
                            Your E-mail:
                        </label>
                            @Html.Editor("email")
                            <br /><br />
                        <input type="submit" value="send password reset email" class="btn btn-primary btn-large" />
        </div>
        }
</div>
}
